/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.muzixplayerpro.entity;

/**
 *
 * @author yuh351
 */
public class Song{
    private int id;
    private String title;
    private Album album;
    private double ratecount;
    private float avgrate;

    public Song() {
    }

    public Song(int id, String title, Album album, double ratecount, float avgrate) {
        this.id = id;
        this.title = title;
        this.album = album;
        this.ratecount = ratecount;
        this.avgrate = avgrate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Album getAlbum() {
        return album;
    }

    public void setAlbum(Album album) {
        this.album = album;
    }

    public double getRatecount() {
        return ratecount;
    }

    public void setRatecount(double ratecount) {
        this.ratecount = ratecount;
    }

    public float getAvgrate() {
        return avgrate;
    }

    public void setAvgrate(float avgrate) {
        this.avgrate = avgrate;
    }
    
    

}
